"Aging, Secular Stagnation and the Business Cycle"
Callum Jones
jonescallum@gmail.com

Software used:

- Matlab 2021a
- Dynare 4.6.4

To produce the figures in the paper:

- Figure 1: run './aggregate/counterfactuals.m'
- Figure 2: run './olg/lifecycle_plot.m'
- Figure 3: run './aggregate/counterfactuals.m'
- Figure 2: run './olg/olg_trends.m'
- Figure 5: run './aggregate/counterfactuals.m'
- Figure 6: run './aggregate/counterfactuals.m'
- Figure 7: run './aggregate/counterfactuals.m'
- Figure 8: run './aggregate/counterfactuals.m'

To produce the tables in the paper:

- Table 1: run './aggregate/table_mcmc.m'
- Table 2: 
	- Panel A and B: run './aggregate/table_vardecomp.m'
	- Panel C: run './aggregate/table_vardecomp_nodem.m'

To replicate the estimation:

- run './aggregate/rf_mcmc.m'. This generates a 'mhall_`date`.mat' file that stores the sample posterior draws and can be used in place of the provided sample posterior draws ('mhall_01-Apr-2021.mat').
